com.esri.arcgis.carto
Interface IMapServerInit2

All Superinterfaces:
IMapServerInit, Serializable
All Known Implementing Classes:
MapServer

public interface IMapServerInit2
extends IMapServerInit, Serializable

Provides access to additional members that support initializing a map server.

When To Use

In order to use MapServer in COM you need to use IMapServerInit. Set a file path location of the target map document and a file path location for the output.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 String getPhysicalCacheDirectory()
          The physical directory for cache files.
 String getSOMCacheDirectory()
          The parent directory for cache files.
 String getSOMVirtualCacheDirectory()
          The parent virtual directory for cache files.
 String getVirtualCacheDirectory()
          The virtual directory for cache files.
 void setPhysicalCacheDirectory(String pCacheDir)
          The physical directory for cache files.
 void setSOMCacheDirectory(String pCacheDir)
          The parent directory for cache files.
 void setVirtualCacheDirectory(String pVirtualCacheDir)
          The virtual directory for cache files.
 
Methods inherited from interface com.esri.arcgis.carto.IMapServerInit
connect, getFilePath, getMaxBufferCount, getMaxImageHeight, getMaxImageWidth, getMaxRecordCount, getPhysicalOutputDirectory, getVirtualOutputDirectory, setMaxBufferCount, setMaxImageHeight, setMaxImageWidth, setMaxRecordCount, setPhysicalOutputDirectory, setVirtualOutputDirectory, startWithData, stop
 

Method Detail

setPhysicalCacheDirectory

void setPhysicalCacheDirectory(String pCacheDir)
                               throws IOException,
                                      AutomationException
The physical directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pCacheDir - The pCacheDir (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPhysicalCacheDirectory

String getPhysicalCacheDirectory()
                                 throws IOException,
                                        AutomationException
The physical directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pCacheDir
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVirtualCacheDirectory

void setVirtualCacheDirectory(String pVirtualCacheDir)
                              throws IOException,
                                     AutomationException
The virtual directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVirtualCacheDir - The pVirtualCacheDir (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVirtualCacheDirectory

String getVirtualCacheDirectory()
                                throws IOException,
                                       AutomationException
The virtual directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVirtualCacheDir
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSOMCacheDirectory

void setSOMCacheDirectory(String pCacheDir)
                          throws IOException,
                                 AutomationException
The parent directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pCacheDir - The pCacheDir (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSOMCacheDirectory

String getSOMCacheDirectory()
                            throws IOException,
                                   AutomationException
The parent directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pCacheDir
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSOMVirtualCacheDirectory

String getSOMVirtualCacheDirectory()
                                   throws IOException,
                                          AutomationException
The parent virtual directory for cache files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pParentVirtualCacheDir
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.